home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / wgn.xml < prev    next >
Text File  |  2002-08-30  |  3KB  |  96 lines

  1. <search function="wgn">
  2.  
  3.   <name>Windows Guide Network</name>
  4.   <category>Computers</category>
  5.   <contributor>John W. Bairen, Jr.</contributor>
  6.   <link>http://www.winguides.com/</link>
  7.   <email>john_at_bairen_dot_net</email>
  8.   <description>
  9.   Search Windows Guide Network for technical resources and support to tweak, manage and secure the Windows operating system.
  10.   <br/>
  11.     <div class="helpboxDescLabels">Switches:</div>
  12.       <table class="helpboxDescTable">
  13.           <tr><td>/all</td><td> - </td><td>Search All Sections.</td></tr>
  14.           <tr><td>/articles</td><td> - </td><td>Search Article Library.</td></tr>
  15.           <tr><td>/dictionary</td><td> - </td><td>Search Dictionary.</td></tr>
  16.           <tr><td>/drivers</td><td> - </td><td>Search Driver Guide.</td></tr>
  17.           <tr><td>/forums</td><td> - </td><td>Search Discussion Forums.</td></tr>
  18.           <tr><td>/registry</td><td> - </td><td>Search registry Database.</td></tr>
  19.           <tr><td>/script</td><td> - </td><td>Search Script Library.</td></tr>
  20.           <tr><td>/security</td><td> - </td><td>Search Security Database.</td></tr>
  21.        </table>
  22.     <div class="helpboxDescLabels">Examples:</div>
  23.     <table class="helpboxDescTable">
  24.           <tr><td>wgn Internet Explorer hacks</td></tr>
  25.           <tr><td>wgn Internet Explorer /registry</td></tr>
  26.       </table>
  27.   </description>
  28.   <form name="wgnf"
  29.         method="get"
  30.         action="http://www.winguides.com/search.php">
  31.  
  32.     <input type="hidden" name="keywords" value="" />
  33.     <input type="hidden" name="mode" value="or" />
  34.     <input type="hidden" name="target" value="all" />
  35.     <input type="hidden" name="hits" value="50" />
  36.     <input type="hidden" name="guide" value="site" />
  37.   </form>
  38.   <script><![CDATA[
  39.     function wgn(q)
  40.     {
  41.       if( nullArgs("wgn", q) )
  42.         return;
  43.  
  44.       if( q == "" )
  45.       {
  46.         openSearchWindow("http://www.winguides.com/");
  47.         return;
  48.       }
  49.  
  50.       var args = parseArgs(q, "all, article, dictionary, drivers, forums, registry, script, security");
  51.       if ( args.switches.length > 0 )
  52.       {
  53.         switch( args.switches[0].name )
  54.         {
  55.           case "all":
  56.                document.wgnf["target"].value = "all";
  57.                break;
  58.           case "article":
  59.                document.wgnf["target"].value = "articles";
  60.                break;
  61.           case "dictionary":
  62.                document.wgnf["target"].value = "dictionary";
  63.                break;
  64.           case "drivers":
  65.                document.wgnf["target"].value = "drivers";
  66.                break;
  67.           case "forums":
  68.                document.wgnf["target"].value = "community";
  69.                break;
  70.           case "registry":
  71.                document.wgnf["target"].value = "registry"; 
  72.                break;
  73.           case "script":
  74.                document.wgnf["target"].value = "scripting";
  75.                break;
  76.           case "security":
  77.                document.wgnf["target"].value = "security";
  78.                break;
  79.           default:
  80.                document.wgnf["target"].value = "all";
  81.                break;
  82.         } //end-switch
  83.       }
  84.  
  85.       document.wgnf.keywords.value = q;
  86.  
  87.       submitForm(wgnf);
  88.     }
  89.   ]]></script>
  90.  
  91.   <copyright>
  92.     Copyright (c) 2002 David Bau
  93.     Distributed under the terms of the
  94.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  95.   </copyright>
  96. </search>